package com.example.ephuizi.stl.util.string_3d;

import android.graphics.Typeface;

/**
 * Created by ephuizi@gmail.com on 2015/11/10.
 */
public class DrawStringParam {
    String target;
    int color;
    Typeface typeface;
    float scale;

    public DrawStringParam(String target, int color, Typeface typeface, float scale) {
        this.target = target;
        this.color = color;
        this.typeface = typeface;
        if (scale > 1f)
            this.scale = 1f;
        else if (scale <= 0.3f)
            this.scale = 0.3f;
        else
            this.scale = scale;
    }
}